import request from '@/utils/request'
export function listSuan(query) {
  return request({
    url: '/finance/deal/suan',
    method: 'get',
    params: query
  })
}

export function listFind(query) {
  return request({
    url: '/finance/deal/findAll',
    method: 'get',
    params: query
  })
}
// 查询【请填写功能名称】列表
export function listDay(query) {
  return request({
    url: '/finance/deal/list',
    method: 'get',
    params: query
  })
}

// 查询【请填写功能名称】详细
export function getDay(id) {
  return request({
    url: '/finance/deal/' + id,
    method: 'get'
  })
}

// 新增【请填写功能名称】
export function addDay(data) {
  return request({
    url: '/finance/deal',
    method: 'post',
    data: data
  })
}

// 修改【请填写功能名称】
export function updateDay(data) {
  return request({
    url: '/finance/deal',
    method: 'put',
    data: data
  })
}

// 删除【请填写功能名称】
export function delDay(id) {
  return request({
    url: '/finance/deal/' + id,
    method: 'delete'
  })
}
